tree.write('output.xml')